package itdfq.dfq.Structural_Patterns.xiangyuan;

/**
 * @Author GocChin
 * @Date 2021/4/20 10:37
 * @Blog: itdfq.com
 * @QQ: 909256107
 */
public class Demo1 implements Puke{
    private  String cards;

    @Override
    public String cards() {
        return this.cards;
    }
    public Demo1(String cards){
        this.cards=cards;
    }

    @Override
    public void use(int id) {
        System.out.println(cards+"正在使用扑克,使用的是第"+id+"个牌局");
    }
}
